aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src SRC_DEF)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src/IMU SRC_IMU)
add_library(driver ${SRC_DEF} ${SRC_IMU})
target_link_libraries(driver modbus)
target_include_directories(driver PRIVATE ./include)